Generic method for creating a typed command with the provided parameters.
public virtual T CreateTypedCommand<T>(
IDicomCommandClientSessionProxy sessionProxy,
DicomDataSet requestDataSet
)
Public Overloads Overridable Function CreateTypedCommand(Of T As Leadtools.Dicom.Scp.Command.DicomCommand)( _
ByVal sessionProxy As Leadtools.Dicom.Scp.IDicomCommandClientSessionProxy, _
ByVal requestDataSet As Leadtools.Dicom.DicomDataSet _
) As T
public:
virtual _T^_ CreateTypedCommandgeneric<typename T>
(
Leadtools.Dicom.Scp.IDicomCommandClientSessionProxy^ sessionProxy,
Leadtools.Dicom.DicomDataSet^ requestDataSet
)
where T: Leadtools.Dicom.Scp.Command.DicomCommand
sessionProxy
The Leadtools.Dicom.Scp.IDicomCommandClientSessionProxy object which will be used to handle the communication with the client.
requestDataSet
The Leadtools.Dicom.DicomDataSet which is received with the client request.
T
The type of the returned DicomCommand. This type should be inherited from a DicomCommand.
Returns the created DicomCommand.
This method will try to create a DicomCommand with the given generic type. It will also pass the provided sessionProxy and requestDataSet to the command constructor.
If the method fails to create the command it will throw an exception.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET